<template>
<u-tree-select-new :data-source="list" text-field="text1" value-field="text1"></u-tree-select-new>
</template>
<script>
export default {
    data() {
        return {
            list: [
                {
                    text: '一级分类',
                    children: [
                        {
                            text: '二级分类选项文字极限很长...',
                            children: [
                                {
                                    text: '三级分类',
                                },
                            ],
                        },
                        {
                            text: '二级分类',
                            children: [
                                {
                                    text: '三级分类',
                                },
                            ],
                        },
                        {
                            text: '二级分类',
                            children: [
                                {
                                    text: '三级分类',
                                    value: '3',
                                    children: [
                                        {
                                            text: '四级分类',
                                            value: '4',
                                        },
                                    ],
                                },
                            ],
                        },
                    ],
                },
                {
                    text: '一级分类',
                    children: [
                        {
                            text: '二级分类',
                        },
                        {
                            text: '二级分类',
                        },
                    ],
                },
            ],
        };
    },
};
</script>
